package laberinto;

import aima.search.framework.HeuristicFunction;

public class LaberintoHeuristicFunction implements HeuristicFunction{

	@Override
	public double getHeuristicValue(Object state) {
		LaberintoEstado estado = (LaberintoEstado) state;
		
		int h = estado.getDistanciaManhattan();
		
		return h;
	}

}
